<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php 2009-08-18 08:41:22Z Bleakwind $
| Copyright (c) 2003-2010 Bleakwind (www.weaverdream.com)
| http://www.weaverdream.com/
+-----------------------------------------------------------------------------+
*/

// Template variable
$public_var = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_post_attach'                       => "upload/post_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_friendlink_cover'                  => "upload/friendlink_cover",
    'dir_friendlink_attach'                 => "upload/friendlink_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_attach'                     => "upload/member_attach",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_post_attach'                 => "build/post_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_friendlink_cover'            => "build/friendlink_cover",
    'dir_build_friendlink_attach'           => "build/friendlink_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_attach'               => "build/member_attach",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Robsofa",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

// Setting variable
$SETTING = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_post_attach'                       => "upload/post_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_friendlink_cover'                  => "upload/friendlink_cover",
    'dir_friendlink_attach'                 => "upload/friendlink_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_attach'                     => "upload/member_attach",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_post_attach'                 => "build/post_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_friendlink_cover'            => "build/friendlink_cover",
    'dir_build_friendlink_attach'           => "build/friendlink_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_attach'               => "build/member_attach",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Robsofa",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

$VERIFYCODE = array(
    'vc_login',
    'vc_register',
    'vc_forgetpass',
    'vc_post',
    'vc_reply',
);

$SELECTSORT = array(
    'question'                              => "密码提示问题",
    'quicklaunch_color'                     => "快速启动颜色",
    'manage_color'                          => "版主管理颜色",
    'article_prefix'                        => "公告标题前缀",
    'article_color'                         => "公告标题颜色",
    'article_fontstyle'                     => "公告标题样式",
    'article_decoration'                    => "公告标题装饰",
    'friendlink_prefix'                     => "友情链接标题前缀",
    'friendlink_color'                      => "友情链接标题颜色",
    'friendlink_fontstyle'                  => "友情链接标题样式",
    'friendlink_decoration'                 => "友情链接标题装饰",
);

// Verify variable
$SYSCHECK = array(
    'list_privilege_admin'    => array(
                                "channel"                   => "版块设定权限",
                                "topic"                     => "帖子管理权限",

                                "channel_passinto"          => "可以进入密码版块",
                                "channel_lockpost"          => "在锁定版块可以发帖",
                                "channel_lockreply"         => "在锁定版块可以回复帖子",
                                "channel_lockedit"          => "在锁定版块可以编辑帖子",
                                "channel_lockdel"           => "在锁定版块可以删除帖子",

                                "article"                   => "公告发布权限",
                                "friendlink"                => "友情链接管理权限",

                                'viewip_member'             => "是否允许查看会员最后登录IP",
                                'viewip_post'               => "是否允许查看会员发帖IP",

                                "member_view"               => "会员查看权限",
                                "member_amend"              => "会员修改权限",
                                "admin_view"                => "管理员查看权限",
                                "admin_amend"               => "管理员修改权限",
                                "member_group_view"         => "会员群组查看权限",
                                "member_group_amend"        => "会员群组修改权限",
                                "admin_group_view"          => "管理员群组查看权限",
                                "admin_group_amend"         => "管理员群组修改权限",
                           ),

    'list_fileallow_admin'    => array(
                                "index"                     => "管理首页",
                                "quicklaunch"               => "快速启动",

                                "index_config"              => "基本设置首页",
                                "config"                    => "系统设置",
                                "select"                    => "系统选项",
                                "amend"                     => "我的资料",

                                "index_channel"             => "版块设置首页",
                                "channel"                   => "论坛版块管理",
                                "trans"                     => "横向分类管理",
                                "trans_group"               => "横向分类分组管理",
                                "manage"                    => "论坛版主设定",

                                "index_topic"               => "帖子管理首页",
                                "topic"                     => "帖子管理",

                                "index_member"              => "会员管理首页",
                                "member"                    => "会员管理",
                                "member_group"              => "会员群组设定",
                                "admin_group"               => "管理员群组管理",
                                "forbid_ip"                 => "禁止IP",

                                "index_tool"                => "系统工具首页",
                                "article"                   => "论坛公告管理",
                                "friendlink"                => "友情链接管理",
                                "template"                  => "前台模板管理",
                                "admin_template"            => "后台模板管理",
                                "language"                  => "前台语言管理",
                                "admin_language"            => "后台语言管理",
                                "clean_compile"             => "清空模板缓存",
                                "clean_cache"               => "清空页面缓存",
                                "clean_db"                  => "清空数据库缓存",
                                "clean_article_cover"       => "清空生成的图片封面",
                                "clean_article_attach"      => "清空生成的图片附件",
                                "clean_friendlink_cover"    => "清空生成的友情链接封面",
                                "clean_friendlink_attach"   => "清空生成的友情链接附件",

                                "index_help"                => "帮助支持首页",
                                "help_system"               => "系统介绍",
                                "help_frame"                => "系统架构",
                                "help_template"             => "模板标签",
                                "help_skill"                => "使用技巧",

                                "prompt"                    => "提示信息",
                           ),

    'list_login_admin'        => array(
                                "index",
                                "quicklaunch",

                                "index_config",
                                "config",
                                "select",
                                "amend",

                                "index_channel",
                                "channel",
                                "trans",
                                "trans_group",
                                "manage",

                                "index_topic",
                                "topic",

                                "index_member",
                                "member",
                                "member_group",
                                "admin_group",
                                "forbid_ip",

                                "index_tool",
                                "article",
                                "friendlink",
                                "template",
                                "admin_template",
                                "language",
                                "admin_language",
                                "clean_compile",
                                "clean_cache",
                                "clean_db",
                                "clean_article_cover",
                                "clean_article_attach",
                                "clean_friendlink_cover",
                                "clean_friendlink_attach",

                                "index_help",
                                "help_system",
                                "help_frame",
                                "help_template",
                                "help_skill",

                                "prompt",
                           ),

    'list_except_admin'       => array(
                                "curve",
                                "verifycode",
                           ),

    'list_privilege_member'    => array(
                                'if_editpost'               => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost'],
                                'if_editpost_post'          => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost_post'],
                                'if_editpost_time'          => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost_time'],
                                'if_editpost_topic'         => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost_topic'],
                                'if_delpost'                => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost'],
                                'if_delpost_post'           => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost_post'],
                                'if_delpost_time'           => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost_time'],
                                'if_delpost_topic'          => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost_topic'],
                                'if_forbidvisit'            => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidvisit'],
                                'if_forbidpost'             => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidpost'],
                                'if_forbidopus'             => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidopus'],
                                'if_forbidavatar'           => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidavatar'],
                                'if_forbidsign'             => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidsign'],
                           ),

    'list_fileallow_member'    => array(
                                'index'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['index'],

                                'register'                  => $LANGUAGE['s']['_public']['list_fileallow_member']['register'],
                                'login'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['login'],
                                'forgetpass'                => $LANGUAGE['s']['_public']['list_fileallow_member']['forgetpass'],
                                'member_list'               => $LANGUAGE['s']['_public']['list_fileallow_member']['member_list'],
                                'member_view'               => $LANGUAGE['s']['_public']['list_fileallow_member']['member_view'],

                                'topic'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['topic'],
                                'attach'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['attach'],
                                'post'                      => $LANGUAGE['s']['_public']['list_fileallow_member']['post'],
                                'reply'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['reply'],
                                'edit'                      => $LANGUAGE['s']['_public']['list_fileallow_member']['edit'],
                                'channel'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['channel'],
                                'article_list'              => $LANGUAGE['s']['_public']['list_fileallow_member']['article_list'],
                                'article'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['article'],
                                'friendlink_list'           => $LANGUAGE['s']['_public']['list_fileallow_member']['friendlink_list'],
                                'friendlink'                => $LANGUAGE['s']['_public']['list_fileallow_member']['friendlink'],

                                'cp'                        => $LANGUAGE['s']['_public']['list_fileallow_member']['cp'],
                                'cp_password'               => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_password'],
                                'cp_profile'                => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_profile'],
                                'cp_detail'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_detail'],
                                'cp_avatar'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_avatar'],
                                'cp_config'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_config'],
                                'cp_friend'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_friend'],
                                'cp_favorite'               => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_favorite'],
                                'cp_pm_in'                  => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_pm_in'],
                                'cp_pm_out'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_pm_out'],
                                'cp_pm_send'                => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_pm_send'],
                                'cp_prompt'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_prompt'],

                                'prompt'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['prompt'],
                           ),

    'list_login_member'        => array(
                                'post',
                                'reply',
                                'edit',
                                'member_view',
                                'member_list',

                                'cp',
                                'cp_password',
                                'cp_profile',
                                'cp_detail',
                                'cp_avatar',
                                'cp_config',
                                'cp_friend',
                                'cp_favorite',
                                'cp_pm_in',
                                'cp_pm_out',
                                'cp_pm_send',
                                'cp_prompt',
                           ),

    'list_except_member'       => array(
                                'curve',
                                'verifycode',
                           ),
);
?>
